package com.tg.sieve_data.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tg.sieve_data.entity.RegionIssue;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface RegionIssueMapper extends BaseMapper<RegionIssue> {
    List<RegionIssue> selectIssueIdByRegion(@Param("path") String path, @Param("code") String code);

    List<RegionIssue> selectDefaultIssue(@Param("channelId") Integer channelId);

    List<RegionIssue> selectNoIPIssue();
}
